﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLACQUY.DTO;
using QLACQUY.DAO;
using System.Collections;

namespace QLACQUY.BUS
{
    class PhieuGiaoHangBUS
    {
        public int themPhieuGiaoHang(PhieuGiaoHangDTO dto)
        {
            PhieuGiaoHangDAO dao = new PhieuGiaoHangDAO();
            return dao.themPhieuGiaoHang(dto);
        }
        public ArrayList layDanhSach()
        {
            PhieuGiaoHangDAO dao = new PhieuGiaoHangDAO();
            return dao.layDanhSach();
        }
        public int xoaPhieuGiaoHang(int maphieu)
        {
            PhieuGiaoHangDAO dao = new PhieuGiaoHangDAO();
            return dao.xoaPhieu(maphieu);
        }

    }
}
